body,
html {
    width: 100%;
    height: 100%;
    background: url(/assets/images/login_bg.jpg) no-repeat center top;
    background-size: cover;
}

.layui-main {
    padding-top: 20px;
}

.loginAndRegBox {
    width: 400px;
    height: 310px;
    background-color: #fff;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loginAndRegBox h1 {
    padding: 10px;
    text-align: center;
}

form {
    padding: 0 30px;
    margin-top: 10px;
}

.layui-btn {
    width: 100%;
}

.layui-form-item {
    position: relative;
}

.layui-form-item input {
    padding-left: 31px;
}

.layui-form-item span {
    position: absolute;
    top: 8px;
    left: 10px;
}

.regBox {
    display: none;
}